package com.example.demo.model.response;

import com.example.demo.common.LongToDateStringSerialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.math.BigDecimal;
@Data
public class VpsResponse {
    private String vpsId="10201";
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long createdDate=1569573653000L;
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long updatedDate=1569573653000L;
    private String channel="virmach";
    private String channelUrl="https://virmach.com/";
    private String channelUser="dengkaixian@qq.com";
    private String channelPassword="111";
    private String vpsName="GratefulCoordinated-VM";
    private String vpsIp="107.172.3.146";
    private String sshUser="root";
    private String sshPassword="2h4Z3BpuZX3YKz39pn";
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long startDate=1569573653000L;
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long endDate=1569573653000L;
    private Long month=1L;
    private Long year=0L;
    private BigDecimal price=new BigDecimal(8.91);
    private String vpsConfig=" I  P       : 107.172.3.146\n" +
            " 端口       : 8377\n" +
            " 密码       : haisituopu\n" +
            " 加密       : aes-256-cfb\n" +
            " 协议       : origin\n" +
            " 混淆       : plain\n" +
            " 设备数限制 : 0(无限)\n" +
            " 单线程限速 : 0 KB/S\n" +
            " 端口总限速 : 0 KB/S\n" +
            " SS    链接 : ss://YWVzLTI1Ni1jZmI6aGFpc2l0dW9wdUAxMDcuMTcyLjMuMTQ2OjgzNzc\n" +
            " SS  二维码 : http://doub.pw/qr/qr.php?text=ss://YWVzLTI1Ni1jZmI6aGFpc2l0dW9wdUAxMDcuMTcyLjMuMTQ2OjgzNzc\n" +
            " SSR   链接 : ssr://MTA3LjE3Mi4zLjE0Njo4Mzc3Om9yaWdpbjphZXMtMjU2LWNmYjpwbGFpbjphR0ZwYzJsMGRXOXdkUQ\n" +
            " SSR 二维码 : http://doub.pw/qr/qr.php?text=ssr://MTA3LjE3Mi4zLjE0Njo4Mzc3Om9yaWdpbjphZXMtMjU2LWNmYjpwbGFpbjphR0ZwYzJsMGRXOXdkUQ";
    private String vpsStatus="未使用";
    private String site;

}
